package cn.java59;

import java.util.Scanner;

public class Demo13 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		System.out.println("交换前:");
		int a = 10;
		int b = 8;
		System.out.println("输出左手黑桃:" + a);
		System.out.println("输出右手红心:" + b);

		System.out.println("交换后:");
		int c = a;
		a = b;
		b = c;

		System.out.println("输出左手黑桃:" + a);
		System.out.println("输出右手红心" + b);

	}

}
